<?php
class ChPassForm extends BaseForm {
	
	private $id; 
	private $name; 
	private $login; 
	
	private $pass; 
	private $repeat;

	private $readonly; 
	
	public function ChPassForm(){
		parent::BaseForm();
	}

	public function clear(){
		$this->setId(null);
		$this->setName(null);
		$this->setLogin(null);
		$this->setPass(null);
		$this->setRepeat(null);
		
		$this->readonly = false;
	}
	
	public function setId($val){ $this->id = $val; }
	public function setName($val){ $this->name = $val; }
	public function setLogin($val){ $this->login = $val; }
	public function setPass($val){ $this->pass = $val; }
	public function setRepeat($val){ $this->repeat = $val; }
	public function setReadonly($val){$this->readonly = $val;}
	
	public function getId(){ return $this->id; }
	public function getName(){ return $this->name; }
	public function getLogin(){ return $this->login; }
	public function getPass(){ return $this->pass; }
	public function getRepeat(){ return $this->repeat; }
	public function isReadonly(){ return $this->readonly; }
} 
?>